﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace sz.db.model
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("bus_wood_task")]
    public partial class bus_wood_task
    {
           public bus_wood_task(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string barcode {get;set;}

           /// <summary>
           /// Desc:当前加工标识(1-2)
           /// Default:1
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string processing_flag {get;set;}

           /// <summary>
           /// Desc:状态标识(0:就绪，1：板件物流中，5：数据下发失败，2：数据下发给设备，3：进入数控钻加工，4：加工完成)
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public string status {get;set;}

           /// <summary>
           /// Desc:数据状态：0-正在加载，1-正在下发，2-正在加工，3-加工完成，4-故障
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public string data_status {get;set;}

           /// <summary>
           /// Desc:边带余量1
           /// Default:0.0
           /// Nullable:True
           /// </summary>           
           public decimal? oversize_side1 {get;set;}

           /// <summary>
           /// Desc:边带余量2
           /// Default:0.0
           /// Nullable:True
           /// </summary>           
           public decimal? oversize_side2 {get;set;}

           /// <summary>
           /// Desc:侧边1胶料参数
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string sizing_side1 {get;set;}

           /// <summary>
           /// Desc:侧边2胶料参数
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string sizing_side2 {get;set;}

           /// <summary>
           /// Desc:刮角1参数
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string corner_side1 {get;set;}

           /// <summary>
           /// Desc:刮角2参数
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string corner_side2 {get;set;}

           /// <summary>
           /// Desc:开槽边1参数
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string grooving_side1 {get;set;}

           /// <summary>
           /// Desc:开槽边2参数
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string grooving_side2 {get;set;}

           /// <summary>
           /// Desc:机器1封边带配置
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string edge_param1 {get;set;}

           /// <summary>
           /// Desc:机器2封边带配置
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string edge_param2 {get;set;}

           /// <summary>
           /// Desc:机器1封边程序
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string program_m1 {get;set;}

           /// <summary>
           /// Desc:机器2封边程序
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string program_m2 {get;set;}

           /// <summary>
           /// Desc:进给速度
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? feed_speed {get;set;}

           /// <summary>
           /// Desc:顶部刷子开启标识0：关闭~1：开启  （具体根据MES系统定义）
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public string top_brush_flag {get;set;}

           /// <summary>
           /// Desc:方向(0：横向~1：竖向  （具体根据MES系统定义）)
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public string orientation {get;set;}

           /// <summary>
           /// Desc:第1边开始加工时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? start_time_side1 {get;set;}

           /// <summary>
           /// Desc:第1边完成加工时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? finish_time_side1 {get;set;}

           /// <summary>
           /// Desc:第2边开始加工时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? start_time_side2 {get;set;}

           /// <summary>
           /// Desc:第2边完成加工时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? finish_time_side2 {get;set;}

           /// <summary>
           /// Desc:修改者
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string update_by {get;set;}

           /// <summary>
           /// Desc:修改方式(0：自动，1：手动)
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string update_mode {get;set;}

           /// <summary>
           /// Desc:数据最后修改时间
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? last_updated_time {get;set;}

           /// <summary>
           /// Desc:导入模式(0：自动，1：手动)
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string import_mode {get;set;}

           /// <summary>
           /// Desc:导入操作人
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string import_by {get;set;}

           /// <summary>
           /// Desc:数据创建时间
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? created_time {get;set;}

           /// <summary>
           /// Desc:数据导入云标识(0：未导入，1：已导入)
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public string send_to_cloud_flag {get;set;}

    }
}
